package com.ncu.service;

import com.github.pagehelper.PageInfo;
import com.ncu.pojo.Emp;
import org.springframework.stereotype.Service;

import java.util.List;


public interface EmpService {

    public List<Emp> findAll();

    public PageInfo findAllDept(int currentPage);

    public int saveEmp(Emp emp);

    public int checkEmpName(String empName);

    public Emp findEmpById(int empId);

    public int updateEmp(Emp emp);

    public int deleteEmp(int empId);

    public int deleteBatch(List<Integer> listEmp);
}
